package dog_mall_commons.dao;

import dog_mall_commons.pojo.Dogs;
import java.util.List;

public interface DogsMapper {
    int deleteByPrimaryKey(Integer dogId);

    int insert(Dogs record);

    Dogs selectByPrimaryKey(Integer dogId);

    List<Dogs> selectAll();

    int updateByPrimaryKey(Dogs record);

    void  insertImg(Dogs dogs);

    List<Dogs>  selectAllByUserId(Integer userId);

    Dogs  selectMaxIdByUserId(Integer userid);
}